import request from '@/utils/request'
export default{
    //登录返回token
    submitLogin(user) {
      return request({
        url: `/ucenterservice/ucenter-member/login`,
        method: 'post',
        data:user
      })
   },
    //通过token解析jwt返回UcenterMember
    getLoginInfo() {
      return request({
        url: `/ucenterservice/ucenter-member/token`,
        method: 'get',
      })
   }

}
